<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <form action="/lesson14-2/upload4" method="post" enctype="multipart/form-data">
  <input type="file" name="myfiles" multiple>
  <!--如果在一个字段里面上传多个文件，req.file => 一个数组，如何拿到数组里面的req.filename? [[req,req2,req3] ]  -->
  <input type="submit" value="提交">
  </form>
<ul>
  <% list.forEach(function (fd){ %>
  <%  fd.forEach(function (file){ %>
    <li><img src="/lesson14-2/up/<%=file.filename%>"  </li>
  <%});%>;
  <%}); %>
</ul>
</body>
</html>
